package com.itheima.pojo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Ecometeorology {
    private Integer id; // 主键ID，自增
    @NotNull
    private LocalDateTime timestamp;
    private Double record;
    private Double battVoltMin;
    private Double PTemp;
    private Double PM2Point5;
    private Double PM10;
    private Double TSP;
    private Double PMTemp;
    private Double PMRH;
    private Double PMStatus;
    private Double WSWVc1;
    private Double WSWVc2;
    private Double WSWVc3;
    private Double CO2Avg;
    private Double eAvg;
    private Double TempAvg;
    private Double RHAvg;
    private Double BPAvg;
    // double是预定义的一种数据类型不可接受为NULL，而Doouble是在double基础上封装的对象，可接受为NULL
}